package cn.exrick.xboot.modules.IsFinishedCourse.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author xbw
 */
@Data
@Entity
@Table(name = "t_is_finished_course")
@TableName("t_is_finished_course")
@ApiModel(value = "在线教育课程完成情况表")
public class IsFinishedCourse extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户标识（身份证/手机号）")
    private String userCode;
    @ApiModelProperty(value = "消息id")
    private String messageid;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "地址")
    private String url;
    @ApiModelProperty(value = "推送源系统模块名称")
    private String moduleName;
    @ApiModelProperty(value = "排序值")
    @Column(precision = 10, scale = 2)
    private BigDecimal sortOrder;
    @ApiModelProperty(value = "数据来源（记录数据是从什么系统推送过来的）")
    private String source;
    @ApiModelProperty(value = "是否已读：1：是，0：未读")
    private Integer isRead;
    @ApiModelProperty(value = "代码：用来区别已学和未学数据  待办;todo, 已办：done")
    private String code;

    @TableField(exist = false)
    @ApiModelProperty(value = "单点登录异构系统链接前缀")
    private transient String value;

}